gtk4.git
10 years agoinfobar: remove unneeded gadget
Cosimo Cecchi [Sun, 3 Jan 2016 09:02:12 +0000 (01:02 -0800)]
infobar: remove unneeded gadget

It turns out we don't really need to use a separate gadget for the
infobar, if all we do is chaining up to the parent GtkBox which already
uses a gadget.
Just remove all the boilerplate.

10 years agowindow: remove unused variables
Cosimo Cecchi [Sun, 3 Jan 2016 08:54:16 +0000 (00:54 -0800)]
window: remove unused variables

10 years agolevelbar: consolidate code into single function
Cosimo Cecchi [Sun, 3 Jan 2016 01:54:06 +0000 (17:54 -0800)]
levelbar: consolidate code into single function

10 years agolevelbar: port to use gadgets
Cosimo Cecchi [Sun, 3 Jan 2016 02:03:50 +0000 (18:03 -0800)]
levelbar: port to use gadgets

We now use one gadget for the trough, and one for each block.

10 years agolevelbar: split out a function
Cosimo Cecchi [Sun, 3 Jan 2016 02:03:15 +0000 (18:03 -0800)]
levelbar: split out a function

10 years agoinfobar: port to use a gadget
Cosimo Cecchi [Sat, 2 Jan 2016 23:28:12 +0000 (15:28 -0800)]
infobar: port to use a gadget

10 years agoinfobar: trivial code cleanups
Cosimo Cecchi [Sat, 2 Jan 2016 23:09:21 +0000 (15:09 -0800)]
infobar: trivial code cleanups

10 years agomenubar: prefer early return
Cosimo Cecchi [Sat, 2 Jan 2016 22:59:56 +0000 (14:59 -0800)]
menubar: prefer early return

10 years agomenubar: port to use a gadget
Cosimo Cecchi [Fri, 1 Jan 2016 23:23:27 +0000 (15:23 -0800)]
menubar: port to use a gadget

10 years agomenubar: use gtk_container_class_handle_border_width()
Cosimo Cecchi [Fri, 1 Jan 2016 23:19:21 +0000 (15:19 -0800)]
menubar: use gtk_container_class_handle_border_width()

10 years agoHighContrast: remove unused selector
Cosimo Cecchi [Wed, 30 Dec 2015 19:07:26 +0000 (11:07 -0800)]
HighContrast: remove unused selector

There's no header-bar-separator style class.

10 years agoAdwaita: remove unused selector
Cosimo Cecchi [Wed, 30 Dec 2015 19:06:46 +0000 (11:06 -0800)]
Adwaita: remove unused selector

There's no header-bar-separator style class.

10 years agoHighContrast: update for separators deprecations
Cosimo Cecchi [Wed, 30 Dec 2015 18:59:56 +0000 (10:59 -0800)]
HighContrast: update for separators deprecations

HighContrast still has a long way to go, but let's get at least
separators working again.

10 years agoHighContrast: reparse theme
Cosimo Cecchi [Wed, 30 Dec 2015 18:54:14 +0000 (10:54 -0800)]
HighContrast: reparse theme

For some reason, this got accidentally changed in a previous commit.
This is just the output of running parse-sass.sh again.

10 years agowin32: remove ineffective selector
Cosimo Cecchi [Wed, 30 Dec 2015 18:53:27 +0000 (10:53 -0800)]
win32: remove ineffective selector

That style property is deprecated, but the combobox does not have a
separator anymore.

10 years agowidget: deprecate separator style properties
Cosimo Cecchi [Wed, 30 Dec 2015 18:51:14 +0000 (10:51 -0800)]
widget: deprecate separator style properties

They're not used in GTK anymore. Also remove them from the default
theme.

10 years agotreeview: don't use wide-separators/separator-height
Cosimo Cecchi [Wed, 30 Dec 2015 18:36:28 +0000 (10:36 -0800)]
treeview: don't use wide-separators/separator-height

Those style properties are on their way out; instead, use min-height
with the separator style class to obtain the height.

10 years agotreeview: prefer positive polarity in if block
Cosimo Cecchi [Wed, 30 Dec 2015 02:02:21 +0000 (18:02 -0800)]
treeview: prefer positive polarity in if block

10 years agoseparator: don't read wide-separators style property
Cosimo Cecchi [Wed, 30 Dec 2015 01:44:01 +0000 (17:44 -0800)]
separator: don't read wide-separators style property

The notion of a separator being wide or not does not make sense when a
theme can set any CSS property on it, and
separator-width/separator-height are on their way out for
min-width/min-height.

10 years agomenuitem: don't read wide-separators or separator-height
Cosimo Cecchi [Wed, 30 Dec 2015 01:40:30 +0000 (17:40 -0800)]
menuitem: don't read wide-separators or separator-height

Separators inside menus are working completely through CSS since
GtkMenuItem has been ported to use a gadget.
Remove this unused code from here.

10 years agoseparatortoolitem: don't use custom sizing/rendering
Cosimo Cecchi [Tue, 29 Dec 2015 20:34:16 +0000 (12:34 -0800)]
separatortoolitem: don't use custom sizing/rendering

Instead, just rely on the CSS gadget; we can stop using wide-separators,
separator-height and separator-width, and at the same time deprecate the
space-size style property of GtkToolbar.

10 years agoseparatortoolitem: trivial code cleanups
Cosimo Cecchi [Tue, 29 Dec 2015 20:14:02 +0000 (12:14 -0800)]
separatortoolitem: trivial code cleanups

10 years agotoolbar: deprecate GtkToolbarSpaceStyle and space-style style property
Cosimo Cecchi [Wed, 30 Dec 2015 01:33:08 +0000 (17:33 -0800)]
toolbar: deprecate GtkToolbarSpaceStyle and space-style style property

This is completely unused already.

10 years agotoolbar: port to use a gadget
Cosimo Cecchi [Wed, 30 Dec 2015 00:47:04 +0000 (16:47 -0800)]
toolbar: port to use a gadget

10 years agotoolbar: use gtk_container_handle_border_width()
Cosimo Cecchi [Mon, 28 Dec 2015 20:51:25 +0000 (12:51 -0800)]
toolbar: use gtk_container_handle_border_width()

10 years agotoolbar: trivial code cleanup
Cosimo Cecchi [Mon, 28 Dec 2015 20:37:56 +0000 (12:37 -0800)]
toolbar: trivial code cleanup

10 years agoGtkBindings: Fix CSS key in example docs
Felix Riemann [Sat, 2 Jan 2016 20:28:51 +0000 (21:28 +0100)]
GtkBindings: Fix CSS key in example docs

gtk-key-bindings was renamed to -gtk-key-bindings in d267b8e0.

https://bugzilla.gnome.org/show_bug.cgi?id=760082

10 years agoFix stylecontext tests to work
Matthias Clasen [Sun, 3 Jan 2016 06:25:07 +0000 (01:25 -0500)]
Fix stylecontext tests to work

Some of the tests don't work anymore because they test
features of saved style contexts that have changed, and some
now trigger deprecation warnings.

10 years agoSkip GdkX11DeviceManagerCore in finalize tets
Matthias Clasen [Sun, 3 Jan 2016 06:23:35 +0000 (01:23 -0500)]
Skip GdkX11DeviceManagerCore in finalize tets

We already skip the XI2 implementation, and the core
one needs to the same treatment.

10 years agogtkwindow: fix first allocation size
Christoph Reiter [Fri, 1 Jan 2016 11:57:46 +0000 (12:57 +0100)]
gtkwindow: fix first allocation size

67ab00e01ec06d7b removed the fake configure code in gtk_window_show() and
replaced it with a simple gtk_widget_realize(). The initial allocation
code in realize() only allocates the natural size or the last requested
size which now no longer is set, resulting in a too small first allocation.

This builds a configure request to compute the allocation size instead
which includes default size, CSD etc..

This problem could be seen in case of a GtkPaned in a GtkWindow with a
default size set and the pane position set as well. The first allocation
would be the natural size of the GtkPaned which would clamp the pane
position if too larg. Only the second allocation would fill the parent
window using the now wrong pane position.

https://bugzilla.gnome.org/show_bug.cgi?id=759705

10 years agoRevert "Revert "window: Remove suspicious branch""
Matthias Clasen [Sun, 3 Jan 2016 02:08:50 +0000 (21:08 -0500)]
Revert "Revert "window: Remove suspicious branch""

This reverts commit 2438a06d54636e5074c29bd696e3e81e90288b8d.

See https://bugzilla.gnome.org/show_bug.cgi?id=759705

10 years agolevelbar: fix a crash
Cosimo Cecchi [Sun, 3 Jan 2016 02:14:47 +0000 (18:14 -0800)]
levelbar: fix a crash

We should not try to access a block with an index that exceeds the
number of blocks in the widget.

10 years agoseparator toolitem: Respect ::draw property
Matthias Clasen [Sun, 3 Jan 2016 01:53:54 +0000 (20:53 -0500)]
separator toolitem: Respect ::draw property

This was lost when I converted the widget to use a gadget.

https://bugzilla.gnome.org/show_bug.cgi?id=760018

10 years agospinbutton: fix a typo
Cosimo Cecchi [Fri, 1 Jan 2016 22:50:43 +0000 (14:50 -0800)]
spinbutton: fix a typo

10 years agomenuitem: move chaining up to draw inside gadget
Cosimo Cecchi [Sat, 2 Jan 2016 23:28:35 +0000 (15:28 -0800)]
menuitem: move chaining up to draw inside gadget

This is more consistent with what other widgets do.

10 years agoUpdated Czech translation
Marek Černocký [Sat, 2 Jan 2016 20:13:40 +0000 (21:13 +0100)]
Updated Czech translation

10 years agotestframe: Pass correct state to GtkStyleContext API
Timm Bäder [Sat, 2 Jan 2016 14:40:50 +0000 (15:40 +0100)]
testframe: Pass correct state to GtkStyleContext API

10 years agoGtkImage: Simplify _set_from_icon_name
Timm Bäder [Wed, 30 Dec 2015 14:45:07 +0000 (15:45 +0100)]
GtkImage: Simplify _set_from_icon_name

We don't need to strdup icon_name since that will happen in
_gtk_icon_helper_set_icon_name anyway.

10 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 2 Jan 2016 12:27:16 +0000 (12:27 +0000)]
Updated Indonesian translation
(cherry picked from commit 45b3c553a93ed6a9e3eea26e7c8337dcd9fa77b6)

10 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 2 Jan 2016 12:22:34 +0000 (12:22 +0000)]
Updated Indonesian translation
(cherry picked from commit 1aa5f9278423f370d7490d83e8582dae087e2f6a)

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Sat, 2 Jan 2016 06:48:23 +0000 (06:48 +0000)]
Updated Brazilian Portuguese translation
(cherry picked from commit e96c689aa1e60e561f4db67725d53fccc44234ec)

10 years agogtkdnd-quartz: fix gtk_drag_begin_internal
Christoph Reiter [Thu, 17 Dec 2015 17:02:13 +0000 (18:02 +0100)]
gtkdnd-quartz: fix gtk_drag_begin_internal

gtk_drag_begin_internal was changed to take a GtkImageDefinition
instead of a GtkIconHelper. This adjusts the quartz variant
accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=759607

10 years agogtkheaderbar: update window buttons also on realize
Alberts Muktupāvels [Mon, 28 Dec 2015 18:46:23 +0000 (20:46 +0200)]
gtkheaderbar: update window buttons also on realize

After bb34db6 _gtk_header_bar_update_window_buttons function is
called before application menu is set. This caused regression -
app menu button is initially hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=756618

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 31 Dec 2015 17:39:41 +0000 (19:39 +0200)]
Updated Hebrew translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 31 Dec 2015 17:38:23 +0000 (19:38 +0200)]
Updated Hebrew translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 31 Dec 2015 16:49:30 +0000 (18:49 +0200)]
Updated Hebrew translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 31 Dec 2015 16:47:57 +0000 (18:47 +0200)]
Updated Hebrew translation

10 years agoFix include path for gtkiconfactoryprivate.h
Руслан Ижбулатов [Wed, 30 Dec 2015 18:05:36 +0000 (18:05 +0000)]
Fix include path for gtkiconfactoryprivate.h

10 years agoFix to compile for C libraries with no flockfile
Руслан Ижбулатов [Wed, 30 Dec 2015 18:05:05 +0000 (18:05 +0000)]
Fix to compile for C libraries with no flockfile

Also use MS variant of flockfile, if available
(requires MSVCRT compatible with MSVCR90 or newer).

10 years agoscrolledwindow: add missing deprecation flag
Cosimo Cecchi [Wed, 30 Dec 2015 18:44:12 +0000 (10:44 -0800)]
scrolledwindow: add missing deprecation flag

10 years agomenuitem: fix a crash when reserve_indicator is TRUE
Cosimo Cecchi [Wed, 30 Dec 2015 02:31:10 +0000 (18:31 -0800)]
menuitem: fix a crash when reserve_indicator is TRUE

In that case, code expects an arrow gadget to be present but we're not
creating it in every occurrence.
Fix it by ensuring there will be an arrow gadget when reserve_indicator
is TRUE.

10 years agotoolitem: fix a copy/paste typo
Cosimo Cecchi [Wed, 30 Dec 2015 00:33:34 +0000 (16:33 -0800)]
toolitem: fix a copy/paste typo

10 years agoscrolledwindow: port to use a gadget
Cosimo Cecchi [Wed, 23 Dec 2015 17:54:42 +0000 (09:54 -0800)]
scrolledwindow: port to use a gadget

10 years agoscrolledwindow: deprecate scrollbars-within-bevel style property
Cosimo Cecchi [Wed, 23 Dec 2015 04:45:33 +0000 (20:45 -0800)]
scrolledwindow: deprecate scrollbars-within-bevel style property

These days all the themes set it to TRUE, and it's not clear what
happens with overlay scrollbars...

10 years agoviewport: don't render a background over the bin window
Cosimo Cecchi [Mon, 28 Dec 2015 20:21:27 +0000 (12:21 -0800)]
viewport: don't render a background over the bin window

GtkViewport currently tries to draw a background over the bin window.
The feature is a bit broken at the moment, as it does not take into
account padding that might have been set on the GtkViewport, but in
general it does not seem very useful, and goes somewhat against the CSS
box model where every widget/gadget is responsible to draw its own
background. For a fix, we could either have the viewport gain a "bin"
gadget, or we could stop drawing the background.

As it isn't clear that there are any users of this feature, stop drawing
the background; a client can achieve the same effect by drawing the
background on the widget inside the viewport itself.

10 years agoviewport: port to use a gadget
Cosimo Cecchi [Wed, 23 Dec 2015 01:55:18 +0000 (17:55 -0800)]
viewport: port to use a gadget

This will get us margin support, among other things, and simplifies the
code.

10 years agoviewport: trivial code cleanup
Cosimo Cecchi [Wed, 23 Dec 2015 00:26:28 +0000 (16:26 -0800)]
viewport: trivial code cleanup

10 years agoviewport: use gtk_container_class_handle_border_width()
Cosimo Cecchi [Tue, 22 Dec 2015 23:10:23 +0000 (15:10 -0800)]
viewport: use gtk_container_class_handle_border_width()

No need to do this manually.

10 years agogadget: Handle visibility
Benjamin Otte [Wed, 23 Dec 2015 00:50:20 +0000 (01:50 +0100)]
gadget: Handle visibility

As GtkCssNode has the visibility concept, it makes sense to mirror it in
gadgets.

Do what visibility does in widgets: Hidden gadgets can't be drawn or
allocated and request a 0x0 size.

Note that just like widgets, gadget visibility must not be changed in
size request, allocate or draw handlers.

GtkWidget::child-visible has no equivalent yet, code will have to
emulate that manually.

10 years agoDrop deprecated pango-utils api
Matthias Clasen [Sat, 16 May 2015 22:54:35 +0000 (18:54 -0400)]
Drop deprecated pango-utils api

Copy the few parsing functions we need.

10 years agoRaleigh: Don't use deprecated pseudo classes
Ben Iofel [Mon, 28 Dec 2015 03:13:21 +0000 (19:13 -0800)]
Raleigh: Don't use deprecated pseudo classes

10 years agoSet ID on css node right away
Matthias Clasen [Tue, 29 Dec 2015 04:15:53 +0000 (23:15 -0500)]
Set ID on css node right away

Previously, the ID was only set on the CSS node as a side-effect
of calling gtk_widget_get_style_context. This was showing up
in CSS style tests as nodes lacking their IDs.

10 years agoFix a comment
Matthias Clasen [Tue, 29 Dec 2015 03:36:29 +0000 (22:36 -0500)]
Fix a comment

10 years agoAdd a transfer annotation
Matthias Clasen [Mon, 28 Dec 2015 19:41:33 +0000 (14:41 -0500)]
Add a transfer annotation

This was confusing me momentarily, so add an explicit annotation.

10 years agoUpdated German translation
Mario Blättermann [Mon, 28 Dec 2015 21:16:11 +0000 (21:16 +0000)]
Updated German translation

10 years agostatusicon: Avoid criticals
Matthias Clasen [Mon, 28 Dec 2015 15:27:08 +0000 (10:27 -0500)]
statusicon: Avoid criticals

The code handles the possibility of pixbuf being NULL, but
after b411c318321fd4de556926119cbc6e3ba14f073a we must be
prepared for surface already being NULL. Pointed out by
Albert Muktupāvels,

https://bugzilla.gnome.org/show_bug.cgi?id=759917

10 years agocheckbutton: Update state initially
Matthias Clasen [Mon, 28 Dec 2015 15:24:02 +0000 (10:24 -0500)]
checkbutton: Update state initially

Without this, the check node starts out without the :dir(ltr)
state, at least.

10 years agocss: Deprecate :sorted pseudo class
Matthias Clasen [Sun, 27 Dec 2015 23:37:19 +0000 (18:37 -0500)]
css: Deprecate :sorted pseudo class

This was used with regions in GtkTreeView, and is not used
anymore, so deprecate it.

10 years agoFix outline-radius css parser test
Matthias Clasen [Sun, 27 Dec 2015 22:31:27 +0000 (17:31 -0500)]
Fix outline-radius css parser test

The outline-radius properties all got a -gtk prefix.

10 years agoFix the pseudo-classes-known css test
Matthias Clasen [Sun, 27 Dec 2015 22:23:40 +0000 (17:23 -0500)]
Fix the pseudo-classes-known css test

The test needs to be updated for the renamed :dnd pseudo class.
We also need to add a .errors file for the deprecation errors
that we are now producing.

10 years agocss: Redo the pseudo class deprecation warnings
Matthias Clasen [Sun, 27 Dec 2015 22:24:25 +0000 (17:24 -0500)]
css: Redo the pseudo class deprecation warnings

Putting the deprecated class behind the official variant does
not work for the case of :focus and :focused - we were matching
:focus and leave a dangling 'ed'. So, put the deprecated classes
before the official variant, and explicitly mark them as deprecated.

10 years agotest-css-parser: Add a way to generate output
Matthias Clasen [Sun, 27 Dec 2015 22:21:50 +0000 (17:21 -0500)]
test-css-parser: Add a way to generate output

Use test-css-parser --generate foo.css to see the parser
output on stdout. This makes it more convenient to add new
css files to the testsuite.

10 years agoCosmetic change
Matthias Clasen [Sun, 27 Dec 2015 02:41:59 +0000 (21:41 -0500)]
Cosmetic change

10 years agoinspector: Don't leak weak references
Matthias Clasen [Sun, 27 Dec 2015 02:40:19 +0000 (21:40 -0500)]
inspector: Don't leak weak references

These come back to bite us when the inspector is no longer around
at the end of the program.

https://bugzilla.gnome.org/show_bug.cgi?id=759768

10 years agoinspector: Remove some dead code
Matthias Clasen [Sun, 27 Dec 2015 01:12:04 +0000 (20:12 -0500)]
inspector: Remove some dead code

Since commit bffeae6203ffe5ea91988d4439571568abc95ab7, the
tree path is not used for anything useful anymore, so do away
with it entirely.

10 years agodocs: Add missing value syntax for border-image
Matthias Clasen [Sat, 26 Dec 2015 21:04:02 +0000 (16:04 -0500)]
docs: Add missing value syntax for border-image

10 years agoFix a surface leak
Руслан Ижбулатов [Sun, 27 Dec 2015 02:02:19 +0000 (02:02 +0000)]
Fix a surface leak

Was introduced as part of b79a187d47ee5c45952fab60c141fcaed7e05ef6.
Results in memory leaks (and GDI objects leaks on W32).

10 years agogtkframe: format fix
Carlos Soriano [Sat, 26 Dec 2015 19:52:53 +0000 (20:52 +0100)]
gtkframe: format fix

10 years agogtkframe: remove unused variable
Carlos Soriano [Sat, 26 Dec 2015 19:52:31 +0000 (20:52 +0100)]
gtkframe: remove unused variable

And fix the compiler warning

10 years agoRedo the CSS docs
Matthias Clasen [Thu, 24 Dec 2015 23:10:04 +0000 (18:10 -0500)]
Redo the CSS docs

Split the CSS docs off from the GtkCssProvider docs and
give them their own chapter. Among other things, this commit
introduces more or less complete definitions of the syntax for
the supported selectors, a complete list of all supported
properties, and definitions for their values. This includes
documentation for GTK+-specific properties such as -gtk-icon-source.

10 years agoDrop the :dnd syntax altogether
Matthias Clasen [Sat, 26 Dec 2015 03:24:58 +0000 (22:24 -0500)]
Drop the :dnd syntax altogether

This was only introduced a few weeks ago. We don't need to keep
this around, now that we support the proper CSS syntax.

10 years agoAdwaita: Don't use deprecated pseudo classes
Matthias Clasen [Thu, 24 Dec 2015 23:43:03 +0000 (18:43 -0500)]
Adwaita: Don't use deprecated pseudo classes

10 years agoAdd deprecation warnings for pseudo states
Matthias Clasen [Thu, 24 Dec 2015 23:08:20 +0000 (18:08 -0500)]
Add deprecation warnings for pseudo states

Emit a deprecation error in the cases where we have
a CSS name for a custom pseudo class.

10 years agoUse CSS syntax for drop highlighting
Matthias Clasen [Thu, 24 Dec 2015 23:04:15 +0000 (18:04 -0500)]
Use CSS syntax for drop highlighting

I hadn't noticed the :drop() pseudo state in the CSS4 Selectors
spec when I added this a while ago. This commit renames
GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds
:drop(active) as equivalent to the :dnd pseudo state.

10 years agoAdd docs for GtkCssSection
Matthias Clasen [Sat, 26 Dec 2015 03:22:51 +0000 (22:22 -0500)]
Add docs for GtkCssSection

10 years agoGdkSeat: Use g_intern_static_string() for signal names
Carlos Garnacho [Fri, 25 Dec 2015 13:23:20 +0000 (14:23 +0100)]
GdkSeat: Use g_intern_static_string() for signal names

https://bugzilla.gnome.org/show_bug.cgi?id=759857

10 years agoUpdated Czech translation
Marek Černocký [Fri, 25 Dec 2015 09:50:39 +0000 (10:50 +0100)]
Updated Czech translation

10 years agoAdwaita: fix notebook close button
Lapo Calamandrei [Wed, 23 Dec 2015 23:02:12 +0000 (00:02 +0100)]
Adwaita: fix notebook close button

10 years agoAdwaita: use min-height/width for entry and button sizing
Lapo Calamandrei [Wed, 23 Dec 2015 19:35:06 +0000 (20:35 +0100)]
Adwaita: use min-height/width for entry and button sizing

10 years agoAdwata: fix switch slider border clash
Lapo Calamandrei [Wed, 23 Dec 2015 17:57:04 +0000 (18:57 +0100)]
Adwata: fix switch slider border clash

10 years agolabel: Deny drag gesture when not selectable
Florian Müllner [Wed, 23 Dec 2015 00:51:30 +0000 (01:51 +0100)]
label: Deny drag gesture when not selectable

We don't actually do anything when the label is not selectable
except for consuming the event, which breaks for instance titlebar
drags with labels that contain links. Simply deny the gesture in
that case to allow the event to bubble up normally.

https://bugzilla.gnome.org/show_bug.cgi?id=759798

10 years agogtkcssnumbervalue.c: Include fallback-c89.c to fix build
Chun-wei Fan [Wed, 23 Dec 2015 10:58:42 +0000 (18:58 +0800)]
gtkcssnumbervalue.c: Include fallback-c89.c to fix build

... on older Visual Studio versions, where isinf() is not available, and
copy the isinf() implementation from gdk/fallback-c89.c to
gtk/fallback-c89.c.

10 years agoForgotten files
Matthias Clasen [Wed, 23 Dec 2015 06:56:07 +0000 (01:56 -0500)]
Forgotten files

10 years agowidget: Be safe against windows losing their frame clock
Matthias Clasen [Wed, 23 Dec 2015 04:46:59 +0000 (23:46 -0500)]
widget: Be safe against windows losing their frame clock

gdk_widget_get_frame_clock can return NULL. In particular,
this can happen when the drag window is destroyed at the end
of a DND operation. Handle this gracefully when it happens.

10 years agogtksettings: notify after property reset
Alberts Muktupāvels [Wed, 23 Dec 2015 03:30:11 +0000 (05:30 +0200)]
gtksettings: notify after property reset

10 years agoAdd parser tests for animation properties
Matthias Clasen [Wed, 23 Dec 2015 02:33:08 +0000 (21:33 -0500)]
Add parser tests for animation properties

This adds tests for animation-name, animation-duration,
animation-timing-function, animation-iteration-count,
animation-direction, animation-play-state, animation-delay
and animation-fill-mode.

10 years agoAdd a parser tests for transition properties
Matthias Clasen [Tue, 22 Dec 2015 04:28:48 +0000 (23:28 -0500)]
Add a parser tests for transition properties

This adds tests for transition-property, transition-delay
and transition-timing-function.

10 years agoAdd parser tests for min-width and min-height
Matthias Clasen [Tue, 22 Dec 2015 04:23:05 +0000 (23:23 -0500)]
Add parser tests for min-width and min-height

10 years agoAdd parser tests for border-image properties
Matthias Clasen [Tue, 22 Dec 2015 03:14:21 +0000 (22:14 -0500)]
Add parser tests for border-image properties

This adds tests for border-image-source, border-image-repeat,
border-image-slice and border-image-width.

10 years agofix printing of numbers
Matthias Clasen [Wed, 23 Dec 2015 02:58:31 +0000 (21:58 -0500)]
fix printing of numbers

We should be printing infinite, not inf.